﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.ComponentModel;
    using System.Diagnostics;
    using System.Xml;
    using System.Xml.Serialization;

    [Serializable, XmlType(Namespace="http://www.onvif.org/ver10/deviceIO/wsdl"), GeneratedCode("svcutil", "3.0.4506.2152"), DebuggerStepThrough, DesignerCategory("code")]
    public class SerialPortConfigurationOptions
    {
        private XmlAttribute[] anyAttrField;
        private XmlElement[] anyField;
        private int[] baudRateListField;
        private int[] characterLengthListField;
        private ParityBit[] parityBitListField;
        private float[] stopBitListField;
        private string tokenField;

        [XmlAnyElement(Order=4)]
        public XmlElement[] Any
        {
            get
            {
                return this.anyField;
            }
            set
            {
                this.anyField = value;
            }
        }

        [XmlAnyAttribute]
        public XmlAttribute[] AnyAttr
        {
            get
            {
                return this.anyAttrField;
            }
            set
            {
                this.anyAttrField = value;
            }
        }

        [XmlArray(Order=0), XmlArrayItem("Items", Namespace="http://www.onvif.org/ver10/schema", IsNullable=false)]
        public int[] BaudRateList
        {
            get
            {
                return this.baudRateListField;
            }
            set
            {
                this.baudRateListField = value;
            }
        }

        [XmlArray(Order=2), XmlArrayItem("Items", Namespace="http://www.onvif.org/ver10/schema", IsNullable=false)]
        public int[] CharacterLengthList
        {
            get
            {
                return this.characterLengthListField;
            }
            set
            {
                this.characterLengthListField = value;
            }
        }

        [XmlArray(Order=1), XmlArrayItem("Items", IsNullable=false)]
        public ParityBit[] ParityBitList
        {
            get
            {
                return this.parityBitListField;
            }
            set
            {
                this.parityBitListField = value;
            }
        }

        [XmlArrayItem("Items", Namespace="http://www.onvif.org/ver10/schema", IsNullable=false), XmlArray(Order=3)]
        public float[] StopBitList
        {
            get
            {
                return this.stopBitListField;
            }
            set
            {
                this.stopBitListField = value;
            }
        }

        [XmlAttribute]
        public string token
        {
            get
            {
                return this.tokenField;
            }
            set
            {
                this.tokenField = value;
            }
        }
    }
}

